<?php

    if(isset($_GET['service']))
    {
        
       $connection = connect($config);
       $bindParam = array('id' => $_GET['service']);
       $queryString = "SELECT TheTitle FROM services WHERE ServUrl = :id";
       $resquery = query($queryString, $bindParam, $connection); 
        
       echo  $resquery[0][0];
   
    }
    else echo 'Адвокат Донецк | Юридические услуги';

?>